package com.atguigu.vod.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: shy
 * @Date: 2021/06/13/17:01
 * @Description:
 */
public interface VodService {
    //上传视频到阿里云
    String uploadVideoAly(MultipartFile file);

    // 根据视频id删除阿里云视频
    void removeAliyunVideoById(String id);

    //根据id删除多个阿里云视频
    void removeMoreVideo(List<String> videoIdList);
    //根据视频id获取视频凭证
    String getPlayAuth(String id);
}
